﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminDistillMoney_Net2.aspx.cs"
    Inherits="FinanceCenter_AdminDistillMoney_Net2" %>

<%@ Register Assembly="Shove.Web.UI.2 For.NET 2.0" Namespace="Shove.Web.UI" TagPrefix="ShoveWebUI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>工资管理系统 - 分红网奖金结算</title>
    <link href="../Style/css.css" rel="stylesheet" type="text/css" />
    <link href="../Style/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <br />
    <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>
            <td height="40" align="center" class="black14">
                <asp:DataGrid ID="g" runat="server" BackColor="#6CA4E4" CellPadding="5" Width="98%"
                    CellSpacing="1" BorderWidth="0px" AllowSorting="True" AutoGenerateColumns="False"
                    AllowPaging="True" CssClass="gStyle" OnItemCommand="g_ItemCommand" OnItemDataBound="g_ItemDataBound">
                    <FooterStyle HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
                    <SelectedItemStyle HorizontalAlign="Center" Font-Bold="True" ForeColor="White"></SelectedItemStyle>
                    <HeaderStyle HorizontalAlign="Center" ForeColor="Navy" VerticalAlign="Middle" CssClass="gHeader">
                    </HeaderStyle>
                    <ItemStyle CssClass="gItem" BackColor="White" />
                    <Columns>
                        <asp:BoundColumn DataField="Name" HeaderText="消费ID"></asp:BoundColumn>
                        <asp:BoundColumn DataField="RealityName" HeaderText="真实姓名"></asp:BoundColumn>
                        <asp:BoundColumn DataField="IDCardNumber" HeaderText="身份证号"></asp:BoundColumn>
                        <asp:BoundColumn DataField="EarningNets2" HeaderText="分红网帐户余额" Visible="false">
                            <ItemStyle HorizontalAlign="Center" ForeColor="Red"></ItemStyle>
                        </asp:BoundColumn>
                        <asp:BoundColumn HeaderText="可结奖金">
                            <ItemStyle HorizontalAlign="Center" ForeColor="Red"></ItemStyle>
                        </asp:BoundColumn>
                        <asp:TemplateColumn HeaderText="结算">
                            <ItemTemplate>
                                <ShoveWebUI:ShoveConfirmButton ID="btnGO" runat="server" BorderStyle="Solid" Width="150px"
                                    BorderWidth="1px" AlertText="确定立即结算吗?" Text="立即结算到奖金帐户" Height="20px" CommandName="btnGO">
                                </ShoveWebUI:ShoveConfirmButton>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:BoundColumn Visible="False" DataField="id" SortExpression="id"></asp:BoundColumn>
                        <asp:BoundColumn Visible="False" DataField="isSurrogate" SortExpression="isSurrogate">
                        </asp:BoundColumn>
                        <asp:BoundColumn Visible="False" DataField="EarningNets2"></asp:BoundColumn>
                        <asp:BoundColumn Visible="False" DataField="EarningNets2Balanced"></asp:BoundColumn>
                        <asp:BoundColumn Visible="False" DataField="Name"></asp:BoundColumn>
                    </Columns>
                    <PagerStyle Visible="False" HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC">
                    </PagerStyle>
                </asp:DataGrid>
                <ShoveWebUI:ShoveGridPager ID="gPager" BorderWidth="0" CssClass="gStyle" BorderStyle="None"
                    runat="server" Width="100%" ShowSelectColumn="False" DataGrid="g" OnPageWillChange="gPager_PageWillChange"
                    OnSortBefore="gPager_SortBefore" AlternatingRowColor="White" HotColor="White"
                    GuiseColor="False" ClientNavigation="true" PageSize="10" />
                <br />
                <ShoveWebUI:ShoveConfirmButton ID="btnGOAll" runat="server" Width="160px" Text="全部结算到奖金帐户"
                    AlertText="确信要将所有消费者的分红网帐户余额全部结算到奖金帐户中吗？" OnClick="btnGOAll_Click"></ShoveWebUI:ShoveConfirmButton>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
